<%@ tag body-content="empty" trimDirectiveWhitespaces="true" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib uri="/WEB-INF/tld/campus_fn.tld" prefix="cfn"%>  
<%@ attribute name="type" required="true" rtexprvalue="true" %>
<%@ attribute name="key" rtexprvalue="true" %>
<%@ attribute name="omitSelect" rtexprvalue="true" %>
<c:if test="${not omitSelect }">
	<option value="">请选择</option>
</c:if>
<c:forEach var="pm" items="${cfn:params(type) }">
	<c:if test="${pm.activeFlag eq 1 or pm.paramKey eq key }">
	<option value="${pm.paramKey }" ${not empty key and key eq pm.paramKey ? 'selected' : '' }><c:out value="${pm.paramValue }"/></option>
	</c:if>
</c:forEach>
